package com.github.shiqiyue.app.common.utils;

/***
 *
 * @author wenyao.wu
 * @since 2020/6/28 0028
 */
public class ObjectUtils {

    public static <T> T ifNull(T o1, T o2) {
        if (o1 == null) {
            return o2;
        }
        return o1;
    }

}
